package com.xuecheng.search.service;

import com.xuecheng.framework.domain.course.CoursePub;
import com.xuecheng.framework.domain.course.TeachplanMediaPub;
import com.xuecheng.framework.domain.search.CourseSearchParam;
import com.xuecheng.framework.model.response.QueryResponseResult;

import java.util.Map;

/**
 * @author Kidy
 * @date 2020/7/7 13:21
 */
public interface EsCourseService {

    public QueryResponseResult<CoursePub> list(int page, int size, CourseSearchParam courseSearchParam);

    public Map<String, CoursePub> getAll(String id);

    public QueryResponseResult<TeachplanMediaPub> getMeida(String[] id);
}
